﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Modules.Catalog.Core.Extensions;
using Modules.Catalog.Infrastructure.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Modules.Catalog.Extensions
{
    public static class MouleExtensions
    {
        public static IServiceCollection AddCatalogModule(this IServiceCollection services,IConfiguration configuration)
        {
            services.AddCatalogCore()
                .AddCatalogInfrastructure(configuration);
            return services;
        }
    }
}
